package com.haomi.model;

import java.sql.Timestamp;

/**
 * PhotoComment entity. @author MyEclipse Persistence Tools
 */

public class PhotoComment implements java.io.Serializable {

	// Fields

	private Integer id;
	private String content;
	private Integer photoId;
	private Timestamp postTime;
	private Integer posterId;

	// Constructors

	/** default constructor */
	public PhotoComment() {
	}

	/** full constructor */
	public PhotoComment(String content, Integer photoId, Timestamp postTime,
			Integer posterId) {
		this.content = content;
		this.photoId = photoId;
		this.postTime = postTime;
		this.posterId = posterId;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getPhotoId() {
		return this.photoId;
	}

	public void setPhotoId(Integer photoId) {
		this.photoId = photoId;
	}

	public Timestamp getPostTime() {
		return this.postTime;
	}

	public void setPostTime(Timestamp postTime) {
		this.postTime = postTime;
	}

	public Integer getPosterId() {
		return this.posterId;
	}

	public void setPosterId(Integer posterId) {
		this.posterId = posterId;
	}

}